// console.log('ok')
//引入vue
import Vue from '../node_modules/vue/dist/vue.js'


//引入App.vue
import App from './App.vue'
//引入mint-ui包
import 'mint-ui'
//引入Mint-ui的style样式
import '../node_modules/mint-ui/lib/style.min.css'
//引入头部样式
import { Header,Button } from 'mint-ui';
Vue.component(Header.name, Header);
Vue.component(Button.name, Button);


//导入路由
import VueRouter from 'vue-router';
import router from './router.js';
Vue.use(VueRouter)
//导入vue-resouce
import VueResource from 'vue-resource';
Vue.use(VueResource)



//轮播图
import { Swipe, SwipeItem } from 'mint-ui';
Vue.component(Swipe.name, Swipe);
Vue.component(SwipeItem.name, SwipeItem);


//导入mui包
import './lib/mui/dist/css/mui.min.css';
import './lib/mui/dist/fonts/mui.ttf';
import './lib/mui/dist/fonts/mui-icons-extra.ttf';
import './lib/mui/dist/css/icons-extra.css';
import mui from './lib/mui/dist/js/mui.js'
Vue.prototype.mui = mui










let vm = new Vue({
    el:"#app",
    data:{},
    methods: {
        
    },
    // 在页面中挂载App.vue
    render:c=>c(App),
    router
})
